/*
 * @Author: rogi
 * @Date: 2022-09-05 11:08:49
 * @LastEditTime: 2022-10-13 10:23:32
 * @LastEditors: rogi
 * @Description: 描述
 */
import request from "../utils/request";

export function qbtAcademicDegreeList(params) {
  return request(`/jeecg-boot/qbt/qbtAcademicDegree/list`, {
    params
  })
}

export function qbtAddressHousingAuthorityList(params) {
  return request(`/jeecg-boot/qbt/qbtAddressHousingAuthority/list`, {
    params
  })
}

export function qbtCreditInquiryList(params) {
  return request(`/jeecg-boot/qbt/qbtCreditInquiry/list`, {
    params
  })
}


export function qbtCreditReviewOrderRecordList(params) {
  return request(`/jeecg-boot/qbt/qbtCreditReviewOrderRecord/list`, {
    params
  })
}

export function mapRestTemplate(params) {
  return request(`/jeecg-boot/qbt/map/restTemplate`, {
    params
  })
}

export function qbtAcademicDegreeAdd(body) {
  return request(`/jeecg-boot/qbt/qbtAcademicDegree/add`, {
    method: 'post',
    body
  })
}

export function qbtAddressHousingAuthorityAdd(body) {
  return request(`/jeecg-boot/qbt/qbtAddressHousingAuthority/add`, {
    method: 'post',
    body
  })
}

export function qbtCreditInquiryAdd(body) {
  return request(`/jeecg-boot/qbt/qbtCreditInquiry/add`, {
    method: 'post',
    body
  })
}

export function qbtAcademicDegreeEdit(body) {
  return request(`/jeecg-boot/qbt/qbtAcademicDegree/edit`, {
    method: 'put',
    body
  })
}

export function qbtAddressHousingAuthorityEdit(body) {
  return request(`/jeecg-boot/qbt/qbtAddressHousingAuthority/edit`, {
    method: 'put',
    body
  })
}

export function qbtCreditInquiryEdit(body) {
  return request(`/jeecg-boot/qbt/qbtCreditInquiry/edit`, {
    method: 'put',
    body
  })
}

export function qbtAcademicDegreeDelete(params) {
  return request(`/jeecg-boot/qbt/qbtAcademicDegree/delete`, {
    method: 'delete',
    params
  })
}

export function qbtAddressHousingAuthorityDelete(params) {
  return request(`/jeecg-boot/qbt/qbtAddressHousingAuthority/delete`, {
    method: 'delete',
    params
  })
}
// /jeecg-boot/qbt/qbtAddressHousingAuthority/delete?id=1566995377834455042


export function qbtAcademicDegreeDeleteBatch(params) {
  return request(`/jeecg-boot/qbt/qbtAcademicDegree/deleteBatch`, {
    method: 'delete',
    params
  })
}


export function qbtComplaintsSuggestionsList(params) {
  return request(`/jeecg-boot/qbt/qbtComplaintsSuggestions/list`, {
    params
  })
}

export function qbtComplaintsSuggestionsDelete(params) {
  return request(`/jeecg-boot/qbt/qbtComplaintsSuggestions/delete`, {
    method: 'delete',
    params
  })
}

export function qbtCreditInquiryDelete(params) {
  return request(`/jeecg-boot/qbt/qbtCreditInquiry/delete`, {
    method: 'delete',
    params
  })
}